package com.yw.swagger.mapper;

import com.yw.swagger.model.AppAuthor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: Abeiv
 * @Description:
 * @Date: 2019/10/26 10:22
 */
@Repository
public interface AuthorMapper {
    public int addAuthor(AppAuthor author);
    public int delAuthor(AppAuthor author);
    public int updateAuthor(AppAuthor author);
    public List<AppAuthor> selectAuthorList();
    public AppAuthor selectAuthorById(String id);
    public AppAuthor selectAuthorByCode(String code);
}
